<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        html {
            font-size: 16px;
        }
        header {
            display: flex;
            flex-direction: column;
            position: relative;
            height: 60px;
            border-bottom: 1px solid #cccccc;
        }
        header p{
            line-height: 60px;
            text-align: center;
        }
        header .icon {
            position: absolute;
            right: 10px;
            top: 20px;
        }
        ul>li {
            list-style: none;
            display: flex;
            height: 50px;
            align-items: center;
            margin: 0 10px;
        }
        ul>li>img {
            margin-left: 10px;
            border-radius: 5px;
        }
        ul>li>section {
            display: flex;
            flex: 1;
            height: 100%;
            margin-left: 10px;
            border-bottom: 1px solid #cccccc;
        }
        ul>li>section>.message {
            display: flex;
            flex: 1;
            flex-direction: column;
            justify-content: center;
        }

        .message .name {
            display: flex;
            font-size: 16px;
            font-weight: bold;
            margin-top: 5px;
        }
        .conn>a {
            background-color: #cccccc;
            display: block;
            color: #5f5f5f;
            text-decoration:none;
            padding: 3px 10px;
            font-size: 0.875rem;
        }
    </style>
</head>
<body>
<div>
    <header>
        <p>通讯录</p>
        <div class="icon">
            <img src="../img/search.png" height="20" width="20"/>
            <img src="../img/plus.png" height="20" width="20"/>
        </div>


        <ul>
            <li>
                <img src="../img/newfriend.png" height="40" width="40"/>
                <section>
                    <div class="message" >
                        <div class="name">新的朋友</div>
                    </div>
                </section>
            </li>
            <li>
                <img src="../img/chatfriend.png" height="40" width="40"/>
                <section>
                    <div class="message" >
                        <div class="name">仅聊天的朋友</div>
                    </div>
                </section>
            </li><li>
            <img src="../img/allchat.png" height="40" width="40"/>
            <section>
                <div class="message" >
                    <div class="name">群聊</div>
                </div>
            </section>
        </li>
            <li>
            <img src="../img/biaoqian.png" height="40" width="40"/>
            <section>
                <div class="message" >
                    <div class="name">标签</div>
                </div>
            </section>
        </li>
            <li>
                <img src="../img/code.png" height="40" width="40"/>
                <section>
                    <div class="message" >
                        <div class="name">公众号</div>
                    </div>
                </section>
            </li>

        </ul>
        <div class="conn">
       <a id="a" href="javascript:void(0)">A</a>
            <ul>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">A1</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">A2</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">A3</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">A4</div>
                        </div>
                    </section>
                </li>

            </ul>
       <a id="b" href="javascript:void(0)">B</a>
            <ul>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">B1</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">B2</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">B3</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">B4</div>
                        </div>
                    </section>
                </li>

            </ul>
            <a id="c" href="javascript:void(0)">C</a>
            <ul>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">C1</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">C2</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">C3</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">C4</div>
                        </div>
                    </section>
                </li>

            </ul>
            <a id="d" href="javascript:void(0)">D</a>
            <ul>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">D1</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">D2</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">D3</div>
                        </div>
                    </section>
                </li>
                <li>
                    <img src="../img/newfriend.png" height="40" width="40"/>
                    <section>
                        <div class="message" >
                            <div class="name">D4</div>
                        </div>
                    </section>
                </li>

            </ul>
        </div>
    </header>
</div>

</body>
</html>
